package com.messe.base.models;

import java.sql.Timestamp;
import java.util.Date;


/**
 * OrganizationPersonRel entity. @author MyEclipse Persistence Tools
 */

public class OrganizationPersonRel  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 5709967651816525025L;
	private Integer id;
     private Organization organization;
     private Person person;
     private Date beginDate;
     private Date thruDate;
     private Timestamp lastUpdatedStamp;
     private Timestamp createdStamp;
     private Exhibition exhibition;
     private Organization organizer;
     private Person creater;
     private Person manager;
     private String deptName;
     private Integer type;//是否为主要联系人
     private Integer flag;//联系人状态
     private String role;//联系人角色
     private String description;
     private Responses responses;
     
     private Timestamp tranStamp;//转化时间
     private Person tranManager;//执行转化的客户经理
     
    // Constructors

    public Exhibition getExhibition() {
		return exhibition;
	}

	public void setExhibition(Exhibition exhibition) {
		this.exhibition = exhibition;
	}

	public Organization getOrganizer() {
		return organizer;
	}

	public void setOrganizer(Organization organizer) {
		this.organizer = organizer;
	}

	public Person getCreater() {
		return creater;
	}

	public void setCreater(Person creater) {
		this.creater = creater;
	}
	public Person getManager() {
		return manager;
	}

	public void setManager(Person manager) {
		this.manager = manager;
	}

	/** default constructor */
    public OrganizationPersonRel() {
    }

	/** minimal constructor */
    public OrganizationPersonRel(Integer id, Organization organization, Person person, Date beginDate, Timestamp lastUpdatedStamp, Timestamp createdStamp) {
        this.id = id;
        this.organization = organization;
        this.person = person;
        this.beginDate = beginDate;
        this.lastUpdatedStamp = lastUpdatedStamp;
        this.createdStamp = createdStamp;
    }
    
    /** full constructor */
    public OrganizationPersonRel(Integer id, Organization organization, Person person, Date beginDate, Date thruDate, Timestamp lastUpdatedStamp, Timestamp createdStamp) {
        this.id = id;
        this.organization = organization;
        this.person = person;
        this.beginDate = beginDate;
        this.thruDate = thruDate;
        this.lastUpdatedStamp = lastUpdatedStamp;
        this.createdStamp = createdStamp;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Organization getOrganization() {
        return this.organization;
    }
    
    public void setOrganization(Organization organization) {
        this.organization = organization;
    }

    public Person getPerson() {
        return this.person;
    }
    
    public void setPerson(Person person) {
        this.person = person;
    }

    public Date getBeginDate() {
        return this.beginDate;
    }
    
    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getThruDate() {
        return this.thruDate;
    }
    
    public void setThruDate(Date thruDate) {
        this.thruDate = thruDate;
    }

    public Timestamp getLastUpdatedStamp() {
        return this.lastUpdatedStamp;
    }
    
    public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Timestamp getCreatedStamp() {
        return this.createdStamp;
    }
    
    public void setCreatedStamp(Timestamp createdStamp) {
        this.createdStamp = createdStamp;
    }

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Responses getResponses() {
		return responses;
	}

	public void setResponses(Responses responses) {
		this.responses = responses;
	}

	public Timestamp getTranStamp() {
		return tranStamp;
	}

	public void setTranStamp(Timestamp tranStamp) {
		this.tranStamp = tranStamp;
	}

	public Person getTranManager() {
		return tranManager;
	}

	public void setTranManager(Person tranManager) {
		this.tranManager = tranManager;
	}

	
	
	
}